package model

type VideosTable struct {
	Id          int64  `json:"id,omitempty" gorm:"primaryKey"`
	AuthorId    uint64 `json:"author_id"`
	PlayUrl     string `json:"play_url,omitempty"`
	CoverUrl    string `json:"cover_url,omitempty"`
	Title       string `json:"title,omitempty"`
	PublishTime int64  `json:"publish_time,omitempty"`
}

func (videos VideosTable) TableName() string {
	return "videos"
}
